package com.hgyc.mom.eam.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;

import com.hgyc.mom.common.annotation.Excel;
import com.hgyc.mom.core.mybatis.EQ;
import com.hgyc.mom.core.mybatis.Like;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 点检保养项目
 * </p>
 *
 * @author fwj
 * @since 2025-08-10
 */
@Data
@TableName("eam_equipment_maintain_program")
@Schema(name="点检保养项目对象", description="点检保养项目对象")
public class EamEquipmentMaintainProgram implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private Long id;

    @Excel(name = "项目名称")
    @EQ
    @Schema(description = "项目名称")
    private String name;

    @Excel(name = "项目类型")
    @EQ
    @Schema(description = "项目类型")
    private String type;

    @Excel(name = "周期类型")
    @EQ
    @Schema(description = "周期类型")
    private String periodType;

    @Excel(name = "方法")
    @Schema(description = "方法")
    private String method;

    @Excel(name = "耗材")
    @Schema(description = "耗材")
    private String consumable;

    @Excel(name = "工具")
    @Schema(description = "工具")
    private String tool;

    @Excel(name = "标准")
    @Schema(description = "标准")
    private String standard;

    @Excel(name = "最大值")
    @Schema(description = "最大值")
    private BigDecimal maxValue;

    @Excel(name = "最小值")
    @Schema(description = "最小值")
    private BigDecimal minValue;

    @Excel(name = "单位")
    @Schema(description = "单位")
    private String unit;

    @Excel(name = "备注")
    @Schema(description = "备注")
    private String remark;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "")
    private Long createBy;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新人")
    private Long updateBy;

    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}